/*****************************************************************************
 *
 *                      HUSONG PROPRIETARY INFORMATION
 *
 *          The information contained herein is proprietary to HUSONG
 *           and shall not be reproduced or disclosed in whole or in part
 *                    or used for any design or manufacture
 *              without direct written authorization from HUSONG.
 *
 *            Copyright (c) 2015 by HUSONG.  All rights reserved.
 *
 *****************************************************************************/
package me.send.data.service.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import me.send.data.service.pojo.Permission;

/**
 * @author maxmin
 *
 * @date 2015年9月10日 上午11:24:06
 */
public interface PermissionMapper {
	@Select(value="SELECT mp.id,mp.permission_name permissionName,mp.description,mp.roleid FROM manager_permission mp WHERE mp.roleid=#{roleid}")
	public List<Permission> getPermissionsByRole(int roleid);
}
